{% extends 'feeds/feedsbase.html'%}

{% block subtitle %} - Announcements & Events{% endblock subtitle %}

{% block content%}
    <h1>{{course.course_title}} Feeds</h1>
<p style="text-align: center;">
The {{course.course_title}} Website has two syndication feeds that you can subscribe to for automatic updates
<table border="0" style="text-align: center; margin: auto auto;">
<tr>
<td colspan="2"><h2><hr>{{course.course_title}} Announcements - News and Events<br><hr></h2></td>
</tr>
<tr>
    <td><a href="{% course_url rss-news-feed %}"><img class="noborder" src="{{STATIC_URL}}images/feed-icon.png"><br>RSS Feed</a></td>
    <td><a href="{% course_url atom-news-feed %}"><img class="noborder" src="{{STATIC_URL}}images/feed-icon.png"><br>ATOM Feed</a></td>
</tr>
{% if request.user.is_authenticated %}
<tr>
<td colspan="2"><h2><hr>{{course.course_title}} Site Updates - Announcements and Updated Website Content<br><hr></h2></td>
</tr>
<tr>
    <td><a href="{% course_url rss-update-feed %}"><img class="noborder" src="{{STATIC_URL}}images/feed-icon.png"><br>RSS Feed</a></td>
    <td><a href="{% course_url atom-update-feed %}"><img class="noborder" src="{{STATIC_URL}}images/feed-icon.png"><br>ATOM Feed</a></td>
</tr>
{% endif %}
</table>
</p>
{% endblock content %}